package com.zc.dao;

import com.zc.entity.ThesisInformation;
import com.zc.entity.ThesisInformationzz;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author yuchao
 * 添加学生提交论文信息
 * 通过学生提交论文信息
 * 未通过学生提交论文信息
 * 删除学生提交论文信息
 * 根据学生id查找学生论文信息
 * 根据论文path查找学生论文信息
 *
 */
public interface IThesisInformationzzDao {
	
	int addThesisInformation(ThesisInformationzz thesisInformation);
	
	int passThesisInformation(int studentId);
	int update(ThesisInformationzz thesisInformationzz);

	int failThesisInformation(@Param("studentId")int studentId, @Param("status")Integer status, @Param("description") String des);
	int lwscore(@Param("score") Integer score, @Param("teacherid")Integer teacherid,@Param("lwid")Integer lwid);


	int deleteThesisInformation(int studentId);

	ThesisInformationzz getInfoByStudentId(int studentId);

	ThesisInformationzz getInfoByFilePath(String thesisText);

	List<ThesisInformationzz> findZzlw();
}
